<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>主进程与渲染进程通信</title>
</head>

<body>
  <h2>渲染进程与主进程通信</h2>
  <button>渲到主异步操作</button>
  <br><br>
  <button>渲到主同步操作</button>
  <script src="./index.js"></script>
</body>

</html>